home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
mui
/
bcc_src.lha
/
Parser
/
InterDef.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-15
|
487b
|
37 lines
#include "InterDef.h"
#include "Global.h"
char *InterDef::FullName( void )
{
if( !cd ) return Name;
else {
sprintf( fn, "%s%c_%s_%s", cd->type, GetTagType(), cd->Name, Name );
return fn;
}
}
unsigned long InterDef::GetTagVal( void )
{
if( TagVal ) return TagVal;
if( cd ) {
if( Prefs.tagbase ) {
TagVal = CalcTV();
TagVal ^= TagVal >> 8;
TagVal &= 0xff;
} else {
TagVal = CalcTV();
}
TagVal |= cd->GetTagVal();
return TagVal;
}
return 0;
}